package com.xlh.enums;

/**
 * @author cheer
 */
public enum WebsocketMessageEnum {

    SHARE(1, "分享实验"),
    SHARE_CLOSE(2, "关闭分享实验"),
    SHARE_DELETE(3, "删除分享实验"),
    ATTENDANCE_BEGIN(4, "开始签到"),
    QUIZ_ASK(5, "随堂提问"),
    ADJUST_RESOLUTION(6, "调整分辨率"),
    SWITCH_NUMBER(7, "切换窗口"),
    ATTENDANCE_SIGN(8, "签到成功"),
    FLAVOR_UPDATE(9, "更新配置通知"),
    NOTICE_STOP(10, "通知即将停止容器"),
    NEW_MESSAGE(11, "新消息通知"),
    DELETE_MESSAGE(12, "删除消息"),
    PROBLEM_COMMUNICATION_OPEN(20, "开启问题交流"),
    PROBLEM_COMMUNICATION_CLOSE(21, "关闭问题交流"),
    STATISTIC_END_MESSAGE(50, "统计完成");

    private Integer code;
    private String message;

    WebsocketMessageEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
